<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
  <title>Oauth2.0 Resources Authentication Platform</title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width">  
  <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />      
  <link rel="stylesheet" type="text/css" href="css/templatemo_main.css">
<!-- 
Dashboard Template 
http://www.templatemo.com/preview/templatemo_415_dashboard
-->
</head>
<body>
  <div id="main-wrapper">
    
    <div class="template-page-wrapper">
      <form class="form-horizontal templatemo-signin-form" role="form" action="login" method="post">
        <div class="form-group">
          <div class="col-md-12" style="text-align: center;">
              <img src="images/logo.png"></img>
          </div>
        </div>
        
        <div class="form-group">
          <div class="col-md-12">
            <label for="username" class="col-sm-3 control-label" style="text-align: left;">用户名</label>
            <div class="col-sm-9">
              <input type="text" class="form-control" name="j_username" placeholder="Username">
            </div>
          </div>              
        </div>
        <div class="form-group">
          <div class="col-md-12">
            <label for="password" class="col-sm-3 control-label" style="text-align: left;">密码</label>
            <div class="col-sm-9">
              <input type="password" class="form-control" name="j_password" placeholder="Password">
            </div>
          </div>
        </div>
		<div class="form-group">
			<div class="col-md-12">
				<span class="col-sm-12" style="text-align: left;color:red;">
					${sessionScope.SPRING_SECURITY_LAST_EXCEPTION.message}
				</span>
			</div>
		</div>
        <div class="form-group">
          <div class="col-md-12">
            <div class="col-sm-offset-3 col-sm-9">
              <input type="submit" style="float: right;" value="确认" class="btn btn-primary">
            </div>
          </div>
        </div>
      </form>
    </div>
  </div>
</body>
</html>